package stc.skymobi.unit.cmds;

import bsh.CallStack;
import bsh.Interpreter;

public class deleteUnit extends UnitCmds {
    public static void invoke( 
    		final Interpreter env, 
    		final CallStack callstack, 
    		final String name) throws Exception {
    	getUnitAdmin().deleteUnit(name);
		env.eval("print( \"unit("+ name +") deleted.\")");
    }
}
